<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>


  <div id="app">
      <!-- <img src={{imgUrl1}} >            x    -->
      <!-- <img v-bind:src="imgUrl" > -->
      <img :src="imgUrl" :title="msg" :width="width" :height="height" >
  </div>

  <script src="./vue2.6.12.js"></script>

  <script>

    // v-bind 绑定 : 将传统属性 绑定到vue身上 , 被vue接管

    var app = new Vue({
      el:'#app',
      data:{
        imgUrl:'./img/1.png',
        msg:'极光',
        width:80,
        height:50
      },
      methods:{
        
      }
    })

    

  </script>
</body>
</html>